import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	  uName : '',
	  uId : null
  },
  mutations: {
	  setUname (state,payload) {
		  state.uName = payload
	  },
	  setUid (state,payload) {
		  state.uId = payload
	  }
  },
  actions: {
  },
  modules: {
  }
})
